﻿using System.Collections.Generic;
using AB.ServiceDirectory.Dao;
using AB.ServiceDirectory.Entities;

namespace AB.ServiceDirectory.BO
{
    public static class ABestContactMethodBO
    {
        /// <summary>
        /// Finds all best contact method.
        /// </summary>
        /// <returns></returns>
        public static ICollection<BestContactMethod> FindAllBestContactMethod()
        {
            return ABestContactMethodDao.FindAllContactMethod();
        }

        /// <summary>
        /// Finds the best contact method by id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        public static BestContactMethod FindBestContactMethodById(int id)
        {
            return ABestContactMethodDao.FindContactMethodById(id);
        }
    }
}